
const storage = {
	set(key, val){
		try {
			uni.setStorageSync(key, val)
		} catch (e) {	
			console.log(e)
		}
	},
	get(key){
		return uni.getStorageSync(key)
	},
	remove(key){
		uni.removeStorage({key:key})
	}
}

module.exports = storage